Skip to content

feat!: rename bm25 APIs to paradedb and always use the paradedb access method - #77

Open
rebasedming wants to merge 1 commit into
mainfrom
paradedb-am
Open

feat!: rename bm25 APIs to paradedb and always use the paradedb access method#77
rebasedming wants to merge 1 commit into
mainfrom
paradedb-am

Conversation

@rebasedming

@rebasedming rebasedming commented Jul 27, 2026

Copy link
Copy Markdown

What

Implements paradedb/paradedb#5706 as a breaking rename — no configurability, no fallbacks:

  • BM25FieldParadeDBField, validate_bm25_indexvalidate_paradedb_index, op.create/drop_bm25_indexop.create/drop_paradedb_index, op.reindex_bm25op.reindex_paradedb, and paradedb-named op/error classes (old names removed)
  • postgresql_using="paradedb" is the only recognized value; DDL and autogenerate hardcode USING paradedb; no am option, no server probing anywhere

Requires pg_search 0.25.0+; released images fail at index creation as expected.

Tests

Against a pg_search 0.25.0 dev server: 145 unit + 175 integration passed, 0 skipped. ruff/mypy/api-coverage/schema-compat clean.

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.89%. Comparing base (94ce5fc) to head (9e60552).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   89.64%   89.89%   +0.24%     
==========================================
  Files          17       17              
  Lines        1255     1286      +31     
  Branches      259      263       +4     
==========================================
+ Hits         1125     1156      +31     
  Misses         74       74              
  Partials       56       56              
Flag Coverage Δ
pg15 89.89% <100.00%> (+0.24%) ⬆️
pg16 89.89% <100.00%> (+0.24%) ⬆️
pg17 89.89% <100.00%> (+0.24%) ⬆️
pg18 89.89% <100.00%> (+0.24%) ⬆️
py3.10 89.89% <100.00%> (+0.24%) ⬆️
py3.11 89.89% <100.00%> (+0.24%) ⬆️
py3.12 89.89% <100.00%> (+0.24%) ⬆️
py3.13 89.89% <100.00%> (+0.24%) ⬆️
py3.14 89.89% <100.00%> (+0.24%) ⬆️
sqlalchemy-paradedb 89.89% <100.00%> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
paradedb/__init__.py 100.00% <100.00%> (ø)
paradedb/sqlalchemy/alembic.py 94.48% <100.00%> (+0.29%) ⬆️
paradedb/sqlalchemy/errors.py 100.00% <100.00%> (ø)
paradedb/sqlalchemy/indexing.py 86.59% <100.00%> (+0.77%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rebasedming rebasedming changed the title feat: support the paradedb index access method feat!: rename bm25 APIs to paradedb and always use the paradedb access method Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant